package com.yet.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.stereotype.Component;

import com.yet.container.remote.Remoting;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface RpcService {

	String serviceName();

	int port();

	String host() default "localhost";

	String version() default "v";
	
	String registryCenterName() default "";
	
	Class<? extends Remoting> remotingClass() default Remoting.class;
}
